import request from '../utils/request';


//获取域名/url等
export function getPublicInfo(data) {
    return request({
        url: '/internal_public/public_things/fetch',
        method: 'post',
        data
    })
}

//系统文件上传
export function getAttach(data) {
    return request({
        url: data.upUrl,
        method: 'post',
        data,
        type: 'upLoad'
    })
}

//省市区信息
export function getProvCityArea(data) {
    return request({
        url: '/internal_public/public_things/actionProvCityArea',
        method: 'post',
        data
    })
}
//文件上传
export function fileUpload(data) {
    return request({
        url: '/internal_public/attach/fileUpload',
        method: 'post',
        data,
        type: 'upLoad'
    })
}


